﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000BC9 RID: 3017
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class MonopolyRollDiceScRsp : IMessage<MonopolyRollDiceScRsp>, IMessage, IEquatable<MonopolyRollDiceScRsp>, IDeepCloneable<MonopolyRollDiceScRsp>, IBufferMessage
	{
		// Token: 0x170025FD RID: 9725
		// (get) Token: 0x060086E6 RID: 34534 RVA: 0x00166608 File Offset: 0x00164808
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<MonopolyRollDiceScRsp> Parser
		{
			get
			{
				return MonopolyRollDiceScRsp._parser;
			}
		}

		// Token: 0x170025FE RID: 9726
		// (get) Token: 0x060086E7 RID: 34535 RVA: 0x0016660F File Offset: 0x0016480F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return MonopolyRollDiceScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x170025FF RID: 9727
		// (get) Token: 0x060086E8 RID: 34536 RVA: 0x00166621 File Offset: 0x00164821
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return MonopolyRollDiceScRsp.Descriptor;
			}
		}

		// Token: 0x060086E9 RID: 34537 RVA: 0x00166628 File Offset: 0x00164828
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MonopolyRollDiceScRsp()
		{
		}

		// Token: 0x060086EA RID: 34538 RVA: 0x00166630 File Offset: 0x00164830
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MonopolyRollDiceScRsp(MonopolyRollDiceScRsp other) : this()
		{
			this.pCGGLDLJPLI_ = other.pCGGLDLJPLI_;
			this.retcode_ = other.retcode_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x060086EB RID: 34539 RVA: 0x00166661 File Offset: 0x00164861
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MonopolyRollDiceScRsp Clone()
		{
			return new MonopolyRollDiceScRsp(this);
		}

		// Token: 0x17002600 RID: 9728
		// (get) Token: 0x060086EC RID: 34540 RVA: 0x00166669 File Offset: 0x00164869
		// (set) Token: 0x060086ED RID: 34541 RVA: 0x00166671 File Offset: 0x00164871
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint PCGGLDLJPLI
		{
			get
			{
				return this.pCGGLDLJPLI_;
			}
			set
			{
				this.pCGGLDLJPLI_ = value;
			}
		}

		// Token: 0x17002601 RID: 9729
		// (get) Token: 0x060086EE RID: 34542 RVA: 0x0016667A File Offset: 0x0016487A
		// (set) Token: 0x060086EF RID: 34543 RVA: 0x00166682 File Offset: 0x00164882
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x060086F0 RID: 34544 RVA: 0x0016668B File Offset: 0x0016488B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as MonopolyRollDiceScRsp);
		}

		// Token: 0x060086F1 RID: 34545 RVA: 0x00166699 File Offset: 0x00164899
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(MonopolyRollDiceScRsp other)
		{
			return other != null && (other == this || (this.PCGGLDLJPLI == other.PCGGLDLJPLI && this.Retcode == other.Retcode && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x060086F2 RID: 34546 RVA: 0x001666D8 File Offset: 0x001648D8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.PCGGLDLJPLI != 0U)
			{
				num ^= this.PCGGLDLJPLI.GetHashCode();
			}
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x060086F3 RID: 34547 RVA: 0x00166730 File Offset: 0x00164930
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x060086F4 RID: 34548 RVA: 0x00166738 File Offset: 0x00164938
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x060086F5 RID: 34549 RVA: 0x00166744 File Offset: 0x00164944
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(112);
				output.WriteUInt32(this.Retcode);
			}
			if (this.PCGGLDLJPLI != 0U)
			{
				output.WriteRawTag(120);
				output.WriteUInt32(this.PCGGLDLJPLI);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x060086F6 RID: 34550 RVA: 0x001667A0 File Offset: 0x001649A0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.PCGGLDLJPLI != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.PCGGLDLJPLI);
			}
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x060086F7 RID: 34551 RVA: 0x001667F8 File Offset: 0x001649F8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(MonopolyRollDiceScRsp other)
		{
			if (other == null)
			{
				return;
			}
			if (other.PCGGLDLJPLI != 0U)
			{
				this.PCGGLDLJPLI = other.PCGGLDLJPLI;
			}
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x060086F8 RID: 34552 RVA: 0x00166848 File Offset: 0x00164A48
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x060086F9 RID: 34553 RVA: 0x00166854 File Offset: 0x00164A54
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 112U)
				{
					if (num != 120U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						this.PCGGLDLJPLI = input.ReadUInt32();
					}
				}
				else
				{
					this.Retcode = input.ReadUInt32();
				}
			}
		}

		// Token: 0x0400335D RID: 13149
		private static readonly MessageParser<MonopolyRollDiceScRsp> _parser = new MessageParser<MonopolyRollDiceScRsp>(() => new MonopolyRollDiceScRsp());

		// Token: 0x0400335E RID: 13150
		private UnknownFieldSet _unknownFields;

		// Token: 0x0400335F RID: 13151
		public const int PCGGLDLJPLIFieldNumber = 15;

		// Token: 0x04003360 RID: 13152
		private uint pCGGLDLJPLI_;

		// Token: 0x04003361 RID: 13153
		public const int RetcodeFieldNumber = 14;

		// Token: 0x04003362 RID: 13154
		private uint retcode_;
	}
}
